package practice.w909;

public class EnumTest_vis {
    public static void main(String[] args) {
        Seasons_vis s = Seasons_vis.WINTER;
        System.out.println(s.getSeasonName()+","+s.getSeasonDesc());

        Seasons_vis[] seasons = Seasons_vis.values();
        for(int i=0;i<seasons.length;i++){
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
    }


//    Seasons_vis s = Seasons_vis.WINTER;
//        System.out.println(s.getSeasonName()+","+s.getSeasonDesc());
//
//    Seasons_vis[] seasons = Seasons_vis.values();
//        for(int i=0;i<seasons.length;i++){
//        System.out.println(seasons[i]);
//        System.out.println(seasons[i].getSeasonName());
//        System.out.println(seasons[i].getSeasonDesc());
//    }
//}
}
